/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package http.rpc;

/**
 *
 * @author Asger
 */
public class RemoteException extends Exception {
    
    private Exception nestedException;
    
    public RemoteException(Exception nestedException) {
        super(nestedException.getMessage());
        this.nestedException = nestedException;
    }
    
    public Exception getNestedException() {
        return nestedException;
    }
}
